Repository navigation
Let a user's global tap-to-click replace the Mac's default - #665
Merged
Merged
Conversation
Hyprland gives an hl.device value priority over the global input:touchpad one whatever the load order, so the Mac's per-device tap_to_click = false kept a user's own global tap_to_click = true from working. The Mac now sets it globally with hl.config, as anything a user may set globally should be, so theirs replaces it. An external touchpad on a Mac starts with tapping off too.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #654. In Hyprland 0.56, an
hl.devicevalue takes priority over the globalinput:touchpadvalue whatever order they load in. The Mac's per-devicetap_to_click = falsetherefore blocked a user's own globaltap_to_click = true.settings/apple.luanow setshl.config({ input = { touchpad = { tap_to_click = false } } }), still behind the Apple check. It is loaded before the user's files on both layouts, so their global value replaces it. The accepted trade-off: an external touchpad plugged into a Mac also starts with tapping off.workspace_swipe_use_ris unchanged. The comment, the README and the Mac manual follow the rule:hl.configfor anything a user sets globally,hl.deviceonly for what applies to that device alone. The manual gives the line to turn tapping back on.Tested in an Arch container (aarch64), on this branch and with
OMARCHY_TEST_RUNTIMEset to omacom#13362 b0d870c (settings slot):apple-platform-hooks-test.sh: tapping is set off once, globally, with no per-device value. Where the settings slot exists, it comes after Omarchy's defaults, and the user's globaltruecomes after it. The test fails on the old per-device lines.packages/omarchy-mac/test/all.